import Home from '@/views/pages/home'
import demoRouter from './group/demo'
import streetRouter from './group/street'
import distributionListRouter from './group/distributionList'
import cdpfRouter from './group/cdpf'
import cabRouter from './group/cab'
import historicalsubsidiesRouter from './group/historicalsubsidies'
import difficultysubsidylistRouter from './group/difficultysubsidylist'
import severedisability from './group/severedisability'
import message from './group/message'
import communitystatistics from './group/communitystatistics'
import operatorRouter from './group/operator'
import mainv3 from './group/mainv3'
import handinformation from './group/handinformation'
import workbench from './group/workbench'
import separateservice from './group/separateservice'
import systemNewRouter from './group/system-new'
const base = [
  {
    path: '/',
    name: 'home',
    component: Home,
    children: [
      {
        path: '/index',
        name: 'index',
        component: () => import('@/views/pages/index')
      },
      {
        path: '/account',
        name: 'account',
        component: () => import('@/views/pages/weixin/account')
      }
    ]
  },
  {
    path: '/login',
    name: 'login',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '@/views/pages/login')
  }
]
base[0].children.push.apply(base[0].children, demoRouter)
base[0].children.push.apply(base[0].children, streetRouter)
base[0].children.push.apply(base[0].children, cdpfRouter)
base[0].children.push.apply(base[0].children, cabRouter)
base[0].children.push.apply(base[0].children, distributionListRouter)
base[0].children.push.apply(base[0].children, difficultysubsidylistRouter)
base[0].children.push.apply(base[0].children, severedisability)
base[0].children.push.apply(base[0].children, message)
base[0].children.push.apply(base[0].children, communitystatistics)
base[0].children.push.apply(base[0].children, historicalsubsidiesRouter)
base[0].children.push.apply(base[0].children, operatorRouter)
base[0].children.push.apply(base[0].children, mainv3)
base[0].children.push.apply(base[0].children, handinformation)
base[0].children.push.apply(base[0].children, workbench)
base[0].children.push.apply(base[0].children, separateservice)
base[0].children.push.apply(base[0].children, systemNewRouter)
export default base
